


// 测试 HTTP 客户端
void Request_Test(XS_ServerObject objServer, XS_HostObject objHost, struct mg_connection* c, struct mg_http_message* hm)
{
	// 解析 cookies
	xdict tblCookies = ParseCookies(hm);
	http_reply(c, 200, "Access-Control-Allow-Origin: *\r\nContent-Type: text/html\r\nSet-Cookie: yummy_cookie=choco\r\nSet-Cookie: sdasd_cookie=fsdasd\r\nSet-Cookie: fhdeg_cookie=asghgfdsfer\r\n", "page load success !", 0);
	
	// http_reply(c, 302, "Location: /\r\n", NULL, 0);
}


